import { createStore } from "vuex";
import VuexPersister from "vuex-persister";

const vuexPersister = new VuexPersister({});

export default createStore({
  plugins: [vuexPersister.persist],
  state: {
    menu: []
  },
  getters: {},
  mutations: {
    setMenu(state, payload) {
      state.menu = payload;
    }
  },
  actions: {},
  modules: {}
});
